package org.example.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 会员用户表
 * </p>
 *
 * @author kaka
 * @since 2024-07-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("user1")
public class User extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名称
     */
    private String name;

    /**
     * 用户电话
     */
    private String phone;

    /**
     * 用户年龄
     */
    private Integer age;

    /**
     * 用户地址
     */
    private String address;



}
